<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="title"></div>

    <!-- 引入js文件 -->
    <script src="./node_modules/react/umd/react.development.js"></script>
    <script src="./node_modules/react-dom/umd/react-dom.development.js"></script>
    
    <script>
       const  title = React.createElement("h1",null,'Hello React',React.createElement('span',null,'你好'))

        ReactDOM.render(title,document.querySelector('.title'))


    </script>


</body>
</html>